import { BAD_REQUEST_CODE } from './statusCode'

class BadRequest extends Error {
  statusCode
  constructor(message) {
    super(message)
    this.statusCode = BAD_REQUEST_CODE
  }
}

export default BadRequest
